package com.ruoyi.project.system.mapper;

import com.ruoyi.project.system.domain.SiyuRecharge;

import java.math.BigDecimal;
import java.util.List;

/**
 * 充值记录Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-28
 */
public interface SiyuRechargeMapper {
    /**
     * 查询充值记录列表
     *
     * @param siyuRecharge 充值记录
     * @return 充值记录集合
     */
    public List<SiyuRecharge> selectSiyuRechargeList(SiyuRecharge siyuRecharge);

    /**
     * 新增充值记录
     *
     * @param siyuRecharge 充值记录
     * @return 结果
     */
    public int insertSiyuRecharge(SiyuRecharge siyuRecharge);

    int updateSiyuRechargeSuccess(Integer id, BigDecimal beforeBalance, BigDecimal afterBalance);

}
